<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<link rel="stylesheet" href="../css/mui.min.css">
	<link rel="stylesheet" type="text/css" href="../css/video-js.css"/>
	<link rel="stylesheet" type="text/css" href="../css/mgPublic.css"/>
	<link rel="stylesheet" type="text/css" href="../css/mggj.css"/>
    <title>众创讲堂</title>
   <style>
		html,
		body {
			background-color: #efeff4;
		}
		.mui-bar~.mui-content .mui-fullscreen {
			top: 44px;
			height: auto;
		}
		.mui-pull-top-tips {
			position: absolute;
			top: -20px;
			left: 50%;
			margin-left: -25px;
			width: 40px;
			height: 40px;
			border-radius: 100%;
			z-index: 1;
		}
		.mui-bar~.mui-pull-top-tips {
			top: 86px;
		}
		.mui-pull-top-wrapper {
			width: 42px;
			height: 42px;
			display: block;
			text-align: center;
			background-color: #efeff4;
			border: 1px solid #ddd;
			border-radius: 25px;
			background-clip: padding-box;
			box-shadow: 0 4px 10px #bbb;
			overflow: hidden;
		}
		.mui-pull-top-tips.mui-transitioning {
			-webkit-transition-duration: 200ms;
			transition-duration: 200ms;
		}
		.mui-pull-top-tips .mui-pull-loading {
			/*-webkit-backface-visibility: hidden;
			-webkit-transition-duration: 400ms;
			transition-duration: 400ms;*/
			
			margin: 0;
		}
		.mui-pull-top-wrapper .mui-icon,
		.mui-pull-top-wrapper .mui-spinner {
			margin-top: 7px;
		}
		.mui-pull-top-wrapper .mui-icon.mui-reverse {
			/*-webkit-transform: rotate(180deg) translateZ(0);*/
		}
		.mui-pull-bottom-tips {
			text-align: center;
			background-color: #efeff4;
			font-size: 15px;
			line-height: 40px;
			color: #777;
		}
		.mui-pull-top-canvas {
			overflow: hidden;
			background-color: #fafafa;
			border-radius: 40px;
			box-shadow: 0 4px 10px #bbb;
			width: 40px;
			height: 40px;
			margin: 0 auto;
		}
		.mui-pull-top-canvas canvas {
			width: 40px;
		}
		.mui-slider-indicator.mui-segmented-control {
			background-color: #efeff4;
		}
	</style>	
</head>
<body>
	<header class="mui-bar mui-bar-nav top_nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 id="title" class="mui-title">众创讲堂</h1>
		<!--<a id="info" class="mui-icon iconfont icon-caidan mui-pull-right"></a>-->
	</header>
	<div class="mui-content">
			<div id="slider" class="mui-slider mui-fullscreen envir_contents">
				<div id="sliderSegmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted public_forum_nav">
					<a class="mui-control-item mui-active" href="#item1mobile">
						众创讲师
					</a>
					<a class="mui-control-item" href="#item2mobile">
						视频列表
					</a>
					<a class="mui-control-item" href="#item3mobile">
						A-FIVE
					</a>
				</div>
				<div class="mui-slider-group public_forum">
					<div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
						<div id="scroll1" class="mui-scroll-wrapper">
							<div class="mui-scroll event_gift">
								<ul class="mui-table-view mui-table-view-chevron">
							      <li class="mui-table-view-cell">
							      	<a href="public_forum_details.html" class="">
							      		<img class="mui-media-object mui-pull-left" src="../images/find/speeker_1.png">
							      		<div class="mui-media-body">
							      			<h3 class="mui-ellipsis item_list_head">Mary lina &nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>
							      			<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>
							      			<p class="peoples">
							      				<span>200人</span>
							      				<span>20人</span>
							      			</p>
							      		</div>
							      	</a>
							      </li>
							      <li class="mui-table-view-cell">
							      	<a href="public_forum_details.html" class="">
							      		<img class="mui-media-object mui-pull-left" src="../images/find/speeker_1.png">
							      		<div class="mui-media-body">
							      			<h3 class="mui-ellipsis item_list_head">Mary lina &nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>
							      			<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>
							      			<p class="peoples">
							      				<span>200人</span>
							      				<span>20人</span>
							      			</p>
							      		</div>
							      	</a>
							      </li>
							      <li class="mui-table-view-cell">
							      	<a href="public_forum_details.html" class="">
							      		<img class="mui-media-object mui-pull-left" src="../images/find/speeker_1.png">
							      		<div class="mui-media-body">
							      			<h3 class="mui-ellipsis item_list_head">Mary lina &nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>
							      			<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>
							      			<p class="peoples">
							      				<span>200人</span>
							      				<span>20人</span>
							      			</p>
							      		</div>
							      	</a>
							      </li>
							    </ul>
							</div>
						</div>
					</div>
					<div id="item2mobile" class="mui-slider-item mui-control-content">
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll event_gift">
								<ul class="mui-table-view mui-table-view-chevron">
							      <li class="mui-table-view-cell">
							      	<a href="##" class="">
							      		<div class="mui-media-object mui-pull-left video_box">
										    <video id="example_video_1" class="video-js vjs-default-skin" preload="none" preload="auto" width="100%" height="100%" poster="../images/find/speeker_1.png" data-setup="{}">
											    <source src="../videos/movie.mp4" type='video/mp4' />
											    <source src="../videos/movie.webm" type='video/webm' />
											    <source src="../videos/movie.ogv" type='video/ogg' />
											    <track kind="captions" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 -->
											    <track kind="subtitles" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 -->
											  </video>
										  </div>
							      		<div class="mui-media-body">
							      			<h3 class="mui-ellipsis item_list_head">Mary lina &nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>
							      			<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>
							      			<p class="peoples">
							      				<span>200人</span>
							      				<span>20人</span>
							      			</p>
							      		</div>
							      	</a>
							      </li>
							      <li class="mui-table-view-cell">
							      	<a href="##" class="">
							      		<div class="mui-media-object mui-pull-left video_box">
										    <video id="example_video_1" class="video-js vjs-default-skin" preload="none" width="100%" height="100%" poster="../images/find/speeker_1.png" data-setup="{}">
											    <source src="../videos/movie.mp4" type='video/mp4' />
											    <source src="../videos/movie.webm" type='video/webm' />
											    <source src="../videos/movie.ogv" type='video/ogg' />
											    <track kind="captions" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 -->
											    <track kind="subtitles" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 -->
											  </video>
										  </div>
							      		<div class="mui-media-body">
							      			<h3 class="mui-ellipsis item_list_head">Mary lina &nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>
							      			<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>
							      			<p class="peoples">
							      				<span>200人</span>
							      				<span>20人</span>
							      			</p>
							      		</div>
							      	</a>
							      </li>
							      <li class="mui-table-view-cell">
							      	<a href="javascript:;" class="">
							      		<div class="mui-media-object mui-pull-left video_box">
										    <video id="example_video_1" class="video-js vjs-default-skin" preload="none" width="100%" height="100%" poster="../images/find/speeker_1.png" data-setup="{}">
											    <source src="../videos/movie.mp4" type='video/mp4' />
											    <source src="../videos/movie.webm" type='video/webm' />
											    <source src="../videos/movie.ogv" type='video/ogg' />
											    <track kind="captions" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 -->
											    <track kind="subtitles" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 -->
											  </video>
										  </div>
							      		<div class="mui-media-body">
							      			<h3 class="mui-ellipsis item_list_head">Mary lina &nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>
							      			<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>
							      			<p class="peoples">
							      				<span>200人</span>
							      				<span>20人</span>
							      			</p>
							      		</div>
							      	</a>
							      </li>
							    </ul>
							</div>
						</div>
					</div>
					<div id="item3mobile" class="mui-slider-item mui-control-content">
						<div class="mui-scroll-wrapper">
							<div class="mui-scroll event_gift">
								<ul class="mui-table-view">
									<li class="mui-table-view-cell">
										第3个选项卡子项-1
									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script src="../js/mui.min.js"></script>
		<script src="../js/video.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/mui.pullToRefresh.js"></script>
		<script src="../js/mui.pullToRefresh.material.js"></script>
		<script>
			mui.init();
			mui.preload({
				url:'public_forum_details.html',
				id:'public_forum_details.html',
				styles:{},//窗口参数
				extras:{}//自定义扩展参数
			});
			(function($) {
				//阻尼系数
				var deceleration = mui.os.ios?0.003:0.0009;
				$('.mui-scroll-wrapper').scroll({
					bounce: false,
					indicators: true, //是否显示滚动条
					deceleration:deceleration
				});
				$.ready(function() {
					//循环初始化所有下拉刷新，上拉加载。
					$.each(document.querySelectorAll('.mui-slider-group .mui-scroll'), function(index, pullRefreshEl) {
						$(pullRefreshEl).pullToRefresh({
							down: {
								callback: function() {
									var self = this;
									setTimeout(function() {
										var ul = self.element.querySelector('.mui-table-view');
										ul.insertBefore(createFragment(ul, index, 2, true), ul.firstChild);
										self.endPullDownToRefresh();
									}, 1000);
								}
							},
							up: {
								callback: function() {
									var self = this;
									setTimeout(function() {
										var ul = self.element.querySelector('.mui-table-view');
										ul.appendChild(createFragment(ul, index,3));
										self.endPullUpToRefresh();
									}, 1000);
								}
							}
						});
					});
					var createFragment = function(ul, index, count, reverse) {
						var length = ul.querySelectorAll('li').length;
						var fragment = document.createDocumentFragment();
						var li;
						for (var i = 0; i < count; i++) {
							var li = document.createElement('li');
							li.className = 'mui-table-view-cell';
							switch (index){
								case 0:
									li.innerHTML = '<a href="javascript:;" class="">';
									li.innerHTML += '<img class="mui-media-object mui-pull-left" src="../images/find/tp2.png">';
									li.innerHTML += '<div class="mui-media-body">';
									li.innerHTML += '<h3 class="mui-ellipsis item_list_head">'+(i+1)+'Mary&nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>';
									li.innerHTML += '<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>';
									li.innerHTML += '<p class="peoples"><span>200人</span><span>20人</span></p>';
									li.innerHTML += '</div></a>';
									break;
								case 1:
									li.innerHTML = '<a href="javascript:;" class="">';
									li.innerHTML += '<div class="mui-media-object mui-pull-left video_box"><video id="example_video_1" class="video-js vjs-default-skin" preload="none" width="100%" height="100%" poster="../images/find/speeker_1.png" data-setup="{}"><source src="../videos/movie.mp4" type="video/mp4" /><source src="../videos/movie.webm" type="video/webm" /><source src="../videos/movie.ogv" type="video/ogg" /><track kind="captions" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 --><track kind="subtitles" src="demo.captions.vtt" srclang="en" label="中文"></track><!-- Tracks need an ending tag thanks to IE9 --></video></div>';
									li.innerHTML += '<div class="mui-media-body">';
									li.innerHTML += '<h3 class="mui-ellipsis item_list_head">'+(i+1)+'Mary&nbsp;<span class="bdge_span bdge_yl">培训师</span></h3>';
									li.innerHTML += '<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>';
									li.innerHTML += '<p class="peoples"><span>200人</span><span>20人</span></p>';
									li.innerHTML += '</div></a>';
									videoFn();
								break;
								default:
									li.innerHTML = '<a href="javascript:;" class="">';
									li.innerHTML += '<img class="mui-media-object mui-pull-left" src="../images/find/tp2.png">';
									li.innerHTML += '<div class="mui-media-body">';
									li.innerHTML += '<h3 class="mui-ellipsis item_list_head">'+(i+1)+'Mary</h3>';
									li.innerHTML += '<p class="mui-ellipsis-2">2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势2016物联网发展三技术趋势</p>';
									li.innerHTML += '<p class="peoples"><span>200人</span><span>20人</span></p>';
									li.innerHTML += '</div></a>';
									break;
							}
							//li.innerHTML = liHTML;
							fragment.appendChild(li);
						}
						return fragment;
					};
				});
			})(mui);
		</script>
	</body>

</html>